import request from "../utils/http";

export const addNewCustomerApi = (data) => {
  return request.post("/indexs/addmymember", data);
};

export const editCustomerApi = (data) => {
  return request.post("/indexs/editmymember", data);
};

/**
 * @description:获取体检人信息
 * @param {*} data
 * @returns
 */
export const getCustomerListApi = (data) => {
  return request.post("/indexs/ListJson", data);
};

export const getCustomerApi = (data) => {
  return request.post("/indexs/getinfo", data);
};

export const deleteCustomersApi = (data) => {
  return request.post("/indexs/delete", data);
};
